public class Person {
    int num;

    @Override
    public String toString() {
        return "Object{" +
                "num=" + num +
                '}';
    }

    public Person(int num) {
        this.num = num;
    }
}
class Sex{
    String str;

    public Sex(String str) {
        this.str = str;
    }
}

class Test1 {
    public static void fun2 (Object o) {
        System.out.println(o);
    }


    public static void main(String[] args) {
        Object o1 = new Sex("Qu");

    }

    public static void  fun(Object o){
        System.out.println(o);
    }


//    public static void main1(String[] args) {
//        fun(new Object(100));
//    }
}